general trinomials